<!--#define(String username, Product proudct)-->
<!--#set(usernameCheckError = "用户名错误")--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="description" content="新网页设计师。web标准的教程站点，推动web标准在中国的应用" />
<meta name="keywords" content="designing, with, web, standards, xhtml, css, graphic, design, layout, usability, ccessibility, w3c, w3, w3cn, ajie" />
<title>填写资料-用户注册</title>
<link rel="stylesheet" type="text/css" href="http://static.test.com/style/v1/base.css" />
</head>
<body>
使用Httl模板-new<br />
早上好，${username}<br />
product: ${proudct.name}<br />
<!--#if(proudct.pid == 1)-->
<font color="red">${usernameCheckError}</font>
<!--#end-->
</body>
</html>